package com.ytxg.health_management.notice.mapper;

import com.ytxg.health_management.notice.entity.Notice;
import com.ytxg.health_management.notice.entity.UserNotice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {
    List<Notice> selectNotice(Notice notice);
    List<Notice> selectNoticeAll(Notice notice);
    int insertNotice(Notice notice);
    int selectNoticeCount(Notice notice);
    int isRead(Notice notice);
    UserNotice selectUser(int id);
    int deleteNotice(int id);
}
